machine code
Học thuậtThân thiện
Definition
Noun: 1. A set of instructions coded so that the computer can use it directly without further translation: This is the lowest-level programming language, consisting of binary or hexadecimal codes that a computer's central processing unit (CPU) can execute immediately. It is the fundamental interface between software and hardware.
Usage
- Machine code is the only language a computer's processor understands directly. All high-level programming languages (like Python or Java) must ultimately be translated into machine code before a program can run.
- It is specific to the architecture of a particular CPU.
- It is typically represented in binary (0s and 1s) or hexadecimal (base-16) notation for human readability.
Examples
Advanced Usage
- "To execute machine code": To run or carry out the instructions contained in the machine code.
- The CPU fetches and executes machine code instructions billions of times per second.
- "Raw machine code": Emphasizes the unprocessed, fundamental nature of the code.
- The exploit injected raw machine code into the program's memory buffer.
Variants and Related Words
- Machine language: A synonym for machine code.
- Opcode (Operation Code): The portion of a machine code instruction that specifies the operation to be performed.
- Object code: The output from a compiler or assembler, often consisting of machine code ready for execution or linking.
- Assembly language: A low-level programming language that uses mnemonics to represent machine code instructions, requiring an assembler to translate it into machine code.
Synonyms
- Native code
- Binary code (though this can sometimes refer more broadly to any data in binary form)
Related Phrases/Concepts
- "To run at the machine code level": Operating with the utmost speed and direct hardware control, bypassing higher-level software layers.
- For maximum performance, the graphics routine was written to run at the machine code level.
- "Machine code instruction": A single command in machine code.
- Each machine code instruction tells the CPU to perform a very specific task, like adding two numbers.
Noun
- a set of instructions coded so that the computer can use it directly without further translation